package com.psp.park.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 地址列表
 **/
public class GetAddressListParam {
	@NotEmpty(message = "客户信息不能为空！")
	private String uid; // 客户id
	private Integer page; // 请求分页：从0开始
	@Pattern(regexp = "^1|2$", message = "地址类型：1收货地址，2发票管理")
	private String type; // 地址类型：1收货地址，2发票管理

	public void setUid(String uid) {
 		this.uid = uid;
	}

	public String getUid() {
 		return uid;
	}

	public void setPage(Integer page) {
 		this.page = page;
	}

	public Integer getPage() {
 		return page;
	}

	public void setType(String type) {
 		this.type = type;
	}

	public String getType() {
 		return type;
	}

}
